#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Date    : 2014-06-17 23:01:35
# @Author  : shitao.tommy (hero007asd@gmail.com)
# @Link    : http://example.org
# @Version : $Id$

DEBUG = True
GZIP = True

# SITE_WWW = 'http://www.iarlink.com:7000/'
# SITE_STATIC = 'http://www.eyuanonline.com:7000/static/'
# DOMAIN = '.eyuanonline.com'


# DB_HOST= 'localhost'
# DB_PORT= 3306
# DB_USER = 'root'
# DB_PASSWD = 'password'
# DB_NAME = 'database'


# REDIS_HOST= 'localhost'
# REDIS_PORT= 3306
# REDIS_USER = 'root'
# REDIS_PASSWD = 'password'
# REDIS_NAME = 'database'

MEMCACHE_HOST = 'localhost:11211'

ADMIN_PAGESIZE = 20


WEIBO_KEY = ''
WEIBO_SECRET = ''
WEIBO_REDIRECT = 'http://www.xxx.com/oauth/weibo'

ALIPAY_KEY = ''
ALIPAY_INPUT_CHARSET = 'utf-8'
ALIPAY_PARTNER = ''
ALIPAY_SELLER_EMAIL = ''
ALIPAY_SIGN_TYPE = 'MD5'
ALIPAY_AUTH_URL='http://www.xxx.com/oauth/alipay_return'
ALIPAY_RETURN_URL='http://www.xxx.com/alipay/return'
ALIPAY_NOTIFY_URL='http://www.xxx.com/alipay/notify'
ALIPAY_SHOW_URL=''
ALIPAY_TRANSPORT='https'

SMS_KEY = 0
SMS_SECRET = ''
SMS_GATEWAY = 'http://sms.bechtech.cn/Api/send/data/json'

# Queue、gearman、

# Redis

# Sentry

# log
LOG_PATH = '../log/'
LOG_NAME = 'tornado_log'
ACCESS_LOG = 'access'
API_LOG = 'api'
SQL_LOG = 'sql'
ERR_LOG = 'error'

#upload
UPLOAD_PATH = '../upload/'

#mail
# MAIL_HOST = 'smtp.qq.com'
# MAIL_USER = '417732702'
# MAIL_PASS = 'hero007asd@163.com'
# MAIL_POSTFIX = 'qq.com'